﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RRHH.Entities;
using RRHH.DataAccess;


namespace RRHH.BusinessLogic
{
    public class BLPersonal
    {

        DAOPersonal _DAOPersonal = new DAOPersonal();

        public Boolean Update(BEPersonal _BEPersonal) {
            return _DAOPersonal.Update(_BEPersonal);        
        }

        public BEPersonal Create(BEPersonal _BEPersonal)
        {
            return _DAOPersonal.Create(_BEPersonal);      
        }

         public BEPersonal Get(int personalID)
        {
            return _DAOPersonal.Get(personalID);
        }

         public bool Delete(int personalID)
         {
             return _DAOPersonal.Delete(personalID);
         }

         public List<BEPersonal> List()
         {
             return _DAOPersonal.List();
         }

         public BEPersonal Obtener_x_ID(int personalID)
         {
             return _DAOPersonal.Obtener_x_ID(personalID);
         }

    }
}
